﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AjaxMain.aspx.cs" Inherits="Ajax_AjaxMain" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Upload file in AJAX control</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div>
                        Upload file</div>
                    <div id="divFrame">
                        <iframe id="ifrPhoto" scrolling="no" frameborder="0" hidefocus="true"
                            style="text-align: center; vertical-align: middle; border-style: none; margin: 0px;
                            width: 100%; height: 55px" src="AjaxUpload.aspx"></iframe>
                    </div>
                    <div id="divUploadMessage" style="padding-top: 4px;">
                    
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
